package com.qingfeng.medical.biz.message.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qingfeng.medical.biz.information.domain.vo.DiseaseDoctorVo;
import com.qingfeng.medical.biz.information.domain.vo.UserInfoDiseaseVo;
import com.qingfeng.medical.biz.message.domain.dto.DiseaseConsultationSaveDTO;
import com.qingfeng.medical.biz.message.domain.entity.DiseaseConsultation;

import java.util.List;

/**
 * 病情咨询表
 *
 * @author 清风学Java
 * @date 2023-04-14 14:47:16
 */
public interface DiseaseConsultationService extends IService<DiseaseConsultation> {

    /**
     * 医师列表
     * @param depId
     * @return
     */
    List<DiseaseDoctorVo> doctorList(Long depId);

    /**
     * 保存咨询信息
     * @param diseaseConsultationSaveDTO
     */
    void saveDiseaseConsultation(DiseaseConsultationSaveDTO diseaseConsultationSaveDTO);

    /**
     * 查询咨询信息
     * @param userId
     * @param doctorId
     * @return
     */
    List<DiseaseConsultation> diseaseList(Long userId, Long doctorId);

    /**
     * 查询病情咨询的用户列表
     * @param userId
     * @return
     */
    List<UserInfoDiseaseVo> userList(Long userId);
}

